/**
 * Project: ld.biz.service
 * 
 * File Created at 2012-9-23
 * $Id$
 * 
 * Copyright 1999-2100 Alibaba.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.liangdev.biz.service.autocode.impl;

import java.util.List;

import com.liangdev.biz.dao.autocode.DbInfoDao;
import com.liangdev.biz.dataobject.autocode.DbInfoDO;
import com.liangdev.biz.query.autocode.DbInfoQuery;
import com.liangdev.biz.service.autocode.DbInfoService;
import com.liangdev.common.base.service.impl.GenericServiceImpl;

/**
 * TODO Comment of DbInfoServiceImpl
 * 
 * @author chongan.wangca
 */
public class DbInfoServiceImpl extends GenericServiceImpl<DbInfoDO, DbInfoQuery> implements
        DbInfoService {

    private DbInfoDao dbInfoDao;

    /*
     * (non-Javadoc)
     * @see
     * com.liangdev.biz.service.autocode.DbInfoService#getByDbType(java.lang
     * .String)
     */
    @Override
    public List<DbInfoDO> getByDbType(String dbType) {
        return dbInfoDao.getByDbType(dbType);
    }

    public void setDbInfoDao(DbInfoDao dbInfoDao) {
        this.dbInfoDao = dbInfoDao;
    }

    /*
     * (non-Javadoc)
     * @see com.liangdev.biz.service.autocode.DbInfoService#findAll()
     */
    @Override
    public List<DbInfoDO> findAll() {
        return dbInfoDao.findAll();
    }

}
